package automatyzacja;

import java.util.concurrent.TimeUnit;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public abstract class SeleniumBase {


		public static WebDriver driver;
		
		@BeforeClass
		public static void setUp() throws Exception {
			driver = new FirefoxDriver();
			driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
		}

		@AfterClass
		public static void tearDown() throws Exception {
			driver.quit();

		}
}
